package com.lemurian.bankdata.services;

import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Order;

import com.lemurian.bankdata.bean.base.BaseServiceInterface;
import com.lemurian.bankdata.lite.struts.PartialList;
import com.lemurian.entity.Category;
import com.lemurian.entity.Client;
import com.lemurian.entity.SignatureSchedule;

public interface SignatureScheduleService extends BaseServiceInterface<SignatureSchedule> {

	PartialList<SignatureSchedule> findSchedule(int start, int count,
			Order order, Criterion... criterion);

	PartialList<SignatureSchedule> findClientForKepengurusan(int start,
			int count, Order order, Criterion... criterions);
	
	public SignatureSchedule findSignatureScheduleByClient(Client client);

	SignatureSchedule findScheduleByClientAndDepartment(Client klien, Category department);
}
